<template>
	<view>
		<!-- #ifdef APP-PLUS -->
		<view class="immerse" :style="{
			backgroundColor:backgroundColor
		}"></view>
		<!-- #endif -->
	</view>
</template>

<script>
	export default {
		props: {
			backgroundColor:{
				type: String,
				default:'#fff'
			},
		},
		mounted() {
		},
		methods: {
		}
	}
</script>

<style scoped lang="scss">
	.immerse{
		width: 100%;
		height: calc(var(--status-bar-height) + env(safe-area-inset-top));
		// background-color: #00c455;
		// #ifdef APP-PLUS
		height: calc(var(--status-bar-height);
		// #endif
		z-index:100;
		
	}
</style>
